package com.taobao.test.client;

import com.taobao.test.dao.UserDao;
import com.taobao.test.dao.impl.UserDao4MySqlImpl;
import com.taobao.test.dao.impl.UserDao4OracleImpl;
import com.taobao.test.manager.impl.UserManagerImpl;

public class Client {

	public static void main(String[] args) {
		UserManagerImpl userManager = new UserManagerImpl();
		UserDao userDao = new UserDao4OracleImpl();
		UserDao userDao2 = new UserDao4OracleImpl();
		userManager.setUserDao(userDao);
		userManager.setUserDao(userDao2);
		userManager.save("test", "test");
	}
}
